package com.shigen.demo.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.Version;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * project_data
 *
 * @author
 */
@ApiModel(value = "com.shigen.demo.entity.ProjectData表单的数据")
@Data
@TableName(value = "project_data")
public class ProjectData implements Serializable {

  /**
   * 自增的id
   */
  @ApiModelProperty(value = "自增的id")
  @TableId(type = IdType.AUTO)
  private Integer autoId;

  /**
   * proj的id
   */
  @ApiModelProperty(value = "proj的id")
  private String projId;

  /**
   * IP地址
   */
  @ApiModelProperty(value = "IP地址")
  private String ip;

  /**
   * 设备码
   */
  @ApiModelProperty(value = "设备码")
  private String murmur;

  /**
   * 填写的地址
   */
  @ApiModelProperty(value = "填写的地址")
  private String position;

  /**
   * 填写的数据
   */
  @ApiModelProperty(value = "填写的数据")
  private Object data;

  /**
   * 操作系统
   */
  @ApiModelProperty(value = "操作系统")
  private String os;

  /**
   * 浏览器类型
   */
  @ApiModelProperty(value = "浏览器类型")
  private String browser;

  /**
   * 耗时
   */
  @ApiModelProperty(value = "耗时")
  private Integer timeUse;

  /**
   * 最后提交时间
   */
  @Version
  @ApiModelProperty(value = "最后提交时间")
  @TableField(value = "create_time", fill = FieldFill.INSERT)
  private Date createTime;

  @TableLogic
  private boolean isDel;

  private static final long serialVersionUID = 1L;
}
